module.exports = {
  getDefaultPrompt: (context) => {
    return [
      {
        name: 'project_name',
        message: '项目的中文名称',
        default: 'xxx系统'
      },
      {
        name: 'project_code',
        message: '项目的英文名称',
        default: context.name
      }
    ]
  },
  updateNPMPrompt: [
    {
      type: 'list',
      message: '请选择更新npm的方法',
      name: 'npmType',
      choices:[
        {
          name: "npm",
          message: 'npm'
        },
        {
          name: 'cnpm',
          message: 'cnpm'
        },
        {
          name: 'yarn',
          message: 'yarn'
        }
      ]
    }
  ]
}
